﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WCFCommon;
using System.Runtime.Serialization;
using frag_boardgame;

namespace WCFGameService
{
    public class Room
    {
        private Dictionary<string, UserInfo> users = new Dictionary<string, UserInfo>();

        private RoomInfo info = new RoomInfo();
        private Game game = new Game();
        private bool isPlaying = false;
        private int roomID;

        public int RoomID
        {
            get { return roomID; }
            set { roomID = value; }
        }

        public bool IsPlaying
        {
            get { return isPlaying; }
            set { isPlaying = value; }
        }

        public Game Game
        {
            get { return game; }
        }

        public Dictionary<string, UserInfo> Users
        {
            get { return users; }
        }

        public RoomInfo Info
        {
            get { return info; }
        }
    }
}
